package com.zhuo.project.order.mapper;

import java.util.List;
import com.zhuo.project.order.domain.ZzDiagnoseReturn;

/**
 * 处方单退药明细Mapper接口
 * 
 * @author zhuo
 * @date 2020-03-26
 */
public interface ZzDiagnoseReturnMapper 
{
    /**
     * 查询处方单退药明细
     * 
     * @param id 处方单退药明细ID
     * @return 处方单退药明细
     */
    public ZzDiagnoseReturn selectZzDiagnoseReturnById(Long id);

    /**
     * 查询处方单退药明细列表
     * 
     * @param zzDiagnoseReturn 处方单退药明细
     * @return 处方单退药明细集合
     */
    public List<ZzDiagnoseReturn> selectZzDiagnoseReturnList(ZzDiagnoseReturn zzDiagnoseReturn);

    /**
     * 新增处方单退药明细
     * 
     * @param zzDiagnoseReturn 处方单退药明细
     * @return 结果
     */
    public int insertZzDiagnoseReturn(ZzDiagnoseReturn zzDiagnoseReturn);

    /**
     * 修改处方单退药明细
     * 
     * @param zzDiagnoseReturn 处方单退药明细
     * @return 结果
     */
    public int updateZzDiagnoseReturn(ZzDiagnoseReturn zzDiagnoseReturn);

    /**
     * 删除处方单退药明细
     * 
     * @param id 处方单退药明细ID
     * @return 结果
     */
    public int deleteZzDiagnoseReturnById(Long id);

    /**
     * 批量删除处方单退药明细
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteZzDiagnoseReturnByIds(Long[] ids);
}
